Class Conjunction

All Implemented Interfaces:
Expression, Formula

public class Conjunction
extends NAryBooleanExpression
Represents an expression with 1 or more conjuncts which must all be true.
Author:
Stephen G. Ware
  • Constructor Details

    • Conjunction

      public Conjunction​(Expression... conjuncts)
      Constructs a new conjunction with the given arguments.
      Parameters:
      conjuncts - the conjuncts
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • substitute

      public Conjunction substitute​(Unifier unifier)
      Description copied from interface: Formula
      Return a version of this formula with its variables replaced with the values assigned to them by a unifier.
      Parameters:
      unifier - the unifier
      Returns:
      the formula with variables replaced